package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrdersettingDao {
    //遍历预约
    long findCountByOrderDate(Date orderDate);
    //如果有预约覆盖预约
    void editOrderSettingByDate(OrderSetting list);
    //添加预约
    void upload(OrderSetting list);
    //展示预约数据
    List<OrderSetting> getOrderSettingByMonth(Map map);

    OrderSetting findByOrderDate(Date orderDate);

    void add(OrderSetting orderSetting);

}
